module.exports = {
  css: {
    loaderOptions: {
      less: {
        modifyVars: {
          'primary-color': '#13c2c2',
          'layout-color': '#9867f7'
        },
        javascriptEnabled: true
      }
    }
  },
  publicPath: "./",
  indexPath: "index.html",
  lintOnSave: false,
  assetsDir: "spa_static",
  devServer: {
    host: "localhost",
    port: 8080,
    proxy: {
      "/fileManageApi": {
        target: "http://192.168.138.166:16780",
        changeOrigin: true,
        pathRewrite: {
          "^/fileManageApi": ""
        }
      },
      
      "/pointApi": {
        // target: "http://192.168.142.231:8088",
        target: "http://192.168.140.175:8086",
        changeOrigin: true,
        pathRewrite: {
          "^/pointApi": ""
        }
      },
    }
  }
}
